package net.lanelife.casino.caipiao.dto.admin;

import javax.validation.constraints.NotNull;

import net.lanelife.casino.common.dto.TransientDTO;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

public class DigitalSelectorCreateDTO extends TransientDTO<Integer> {

	private static final long serialVersionUID = 7333520365569673936L;

	@NotNull
	private Integer ruleId;
	
	@NotBlank
	@Length(min = 1, max = 10)
	private String title;
	
	@NotBlank
	@Length(min = 1, max = 100)
	private String no = "0|1|2|3|4|5|6|7|8|9";
	
	@NotNull
	private Integer wrap = 0;
	
	@NotBlank
	@Length(min = 1, max = 50)
	private String big = "5|6|7|8|9";
	
	@NotBlank
	@Length(min = 1, max = 50)
	private String even = "0|2|4|6|8";
	
	@NotNull
	private Integer minchosen = 1;
	
	@NotNull
	private Integer maxchosen = 10;
	
	@NotBlank
	@Length(min = 1, max = 5)
	private String separator = ",";
	
	@NotNull
	private Boolean assistant = Boolean.TRUE;
	
	@NotNull
	private Integer deep;

	public Integer getRuleId() {
		return ruleId;
	}

	public void setRuleId(Integer ruleId) {
		this.ruleId = ruleId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public Integer getWrap() {
		return wrap;
	}

	public void setWrap(Integer wrap) {
		this.wrap = wrap;
	}

	public String getBig() {
		return big;
	}

	public void setBig(String big) {
		this.big = big;
	}

	public String getEven() {
		return even;
	}

	public void setEven(String even) {
		this.even = even;
	}

	public Integer getMinchosen() {
		return minchosen;
	}

	public void setMinchosen(Integer minchosen) {
		this.minchosen = minchosen;
	}

	public Integer getMaxchosen() {
		return maxchosen;
	}

	public void setMaxchosen(Integer maxchosen) {
		this.maxchosen = maxchosen;
	}

	public String getSeparator() {
		return separator;
	}

	public void setSeparator(String separator) {
		this.separator = separator;
	}

	public Boolean getAssistant() {
		return assistant;
	}

	public void setAssistant(Boolean assistant) {
		this.assistant = assistant;
	}

	public Integer getDeep() {
		return deep;
	}

	public void setDeep(Integer deep) {
		this.deep = deep;
	}

	
}
